<template>
<uni-shadow-root class="partials-text_link-text_link"><import src="simpleTextLink.wxml"></import>  
<block v-if="data.androidTemplate == """>
    <template is="simpleTextLink" :data="...data"></template> 
</block></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/text_link/text_link'
const app = getApp();
Component({
  properties: {
    data: {
      type: JSON,
      value: 'default value',
    }
  },
  data: {
    someData: {}
  },
  methods: {
    tolinkUrl: function (event) {
      app.globalData.consoleFun("=====text_link组件-tolinkUrl=====",[event.currentTarget.dataset.link])
      app.globalData.linkEvent(event.currentTarget.dataset.link);
    }
  },
})
export default global['__wxComponents']['partials/text_link/text_link']
</script>
<style platform="mp-weixin">
.text_link{
  padding:16px 0 15px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.text_link_imageContainer{
  height: 20px;
  width: 40px;
}
.text_link_icon{
  height: 20px;
  width: 40px;
}
.text_link_text{
   margin-left: 10px; 
}
.text_link_text2{
  width: 100%;
}
</style>